Optimal. Leaf size=143 \[ \frac{2 e^3 \sqrt{d^2-e^2 x^2}}{3 d^4 x}-\frac{3 e^2 \sqrt{d^2-e^2 x^2}}{8 d^3 x^2}+\frac{e \sqrt{d^2-e^2 x^2}}{3 d^2 x^3}-\frac{\sqrt{d^2-e^2 x^2}}{4 d x^4}-\frac{3 e^4 \tanh ^{-1}\left (\frac{\sqrt{d^2-e^2 x^2}}{d}\right )}{8 d^4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.135082, antiderivative size = 143, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 6, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.222, Rules used = {850, 835, 807, 266, 63, 208} \[ \frac{2 e^3 \sqrt{d^2-e^2 x^2}}{3 d^4 x}-\frac{3 e^2 \sqrt{d^2-e^2 x^2}}{8 d^3 x^2}+\frac{e \sqrt{d^2-e^2 x^2}}{3 d^2 x^3}-\frac{\sqrt{d^2-e^2 x^2}}{4 d x^4}-\frac{3 e^4 \tanh ^{-1}\left (\frac{\sqrt{d^2-e^2 x^2}}{d}\right )}{8 d^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 850
Rule 835
Rule 807
Rule 266
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{\sqrt{d^2-e^2 x^2}}{x^5 (d+e x)} \, dx &=\int \frac{d-e x}{x^5 \sqrt{d^2-e^2 x^2}} \, dx\\ &=-\frac{\sqrt{d^2-e^2 x^2}}{4 d x^4}-\frac{\int \frac{4 d^2 e-3 d e^2 x}{x^4 \sqrt{d^2-e^2 x^2}} \, dx}{4 d^2}\\ &=-\frac{\sqrt{d^2-e^2 x^2}}{4 d x^4}+\frac{e \sqrt{d^2-e^2 x^2}}{3 d^2 x^3}+\frac{\int \frac{9 d^3 e^2-8 d^2 e^3 x}{x^3 \sqrt{d^2-e^2 x^2}} \, dx}{12 d^4}\\ &=-\frac{\sqrt{d^2-e^2 x^2}}{4 d x^4}+\frac{e \sqrt{d^2-e^2 x^2}}{3 d^2 x^3}-\frac{3 e^2 \sqrt{d^2-e^2 x^2}}{8 d^3 x^2}-\frac{\int \frac{16 d^4 e^3-9 d^3 e^4 x}{x^2 \sqrt{d^2-e^2 x^2}} \, dx}{24 d^6}\\ &=-\frac{\sqrt{d^2-e^2 x^2}}{4 d x^4}+\frac{e \sqrt{d^2-e^2 x^2}}{3 d^2 x^3}-\frac{3 e^2 \sqrt{d^2-e^2 x^2}}{8 d^3 x^2}+\frac{2 e^3 \sqrt{d^2-e^2 x^2}}{3 d^4 x}+\frac{\left (3 e^4\right ) \int \frac{1}{x \sqrt{d^2-e^2 x^2}} \, dx}{8 d^3}\\ &=-\frac{\sqrt{d^2-e^2 x^2}}{4 d x^4}+\frac{e \sqrt{d^2-e^2 x^2}}{3 d^2 x^3}-\frac{3 e^2 \sqrt{d^2-e^2 x^2}}{8 d^3 x^2}+\frac{2 e^3 \sqrt{d^2-e^2 x^2}}{3 d^4 x}+\frac{\left (3 e^4\right ) \operatorname{Subst}\left (\int \frac{1}{x \sqrt{d^2-e^2 x}} \, dx,x,x^2\right )}{16 d^3}\\ &=-\frac{\sqrt{d^2-e^2 x^2}}{4 d x^4}+\frac{e \sqrt{d^2-e^2 x^2}}{3 d^2 x^3}-\frac{3 e^2 \sqrt{d^2-e^2 x^2}}{8 d^3 x^2}+\frac{2 e^3 \sqrt{d^2-e^2 x^2}}{3 d^4 x}-\frac{\left (3 e^2\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{d^2}{e^2}-\frac{x^2}{e^2}} \, dx,x,\sqrt{d^2-e^2 x^2}\right )}{8 d^3}\\ &=-\frac{\sqrt{d^2-e^2 x^2}}{4 d x^4}+\frac{e \sqrt{d^2-e^2 x^2}}{3 d^2 x^3}-\frac{3 e^2 \sqrt{d^2-e^2 x^2}}{8 d^3 x^2}+\frac{2 e^3 \sqrt{d^2-e^2 x^2}}{3 d^4 x}-\frac{3 e^4 \tanh ^{-1}\left (\frac{\sqrt{d^2-e^2 x^2}}{d}\right )}{8 d^4}\\ \end{align*}
Mathematica [A] time = 0.136423, size = 95, normalized size = 0.66 \[ \frac{\sqrt{d^2-e^2 x^2} \left (8 d^2 e x-6 d^3-9 d e^2 x^2+16 e^3 x^3\right )-9 e^4 x^4 \log \left (\sqrt{d^2-e^2 x^2}+d\right )+9 e^4 x^4 \log (x)}{24 d^4 x^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.077, size = 304, normalized size = 2.1 \begin{align*}{\frac{3\,{e}^{4}}{8\,{d}^{5}}\sqrt{-{x}^{2}{e}^{2}+{d}^{2}}}-{\frac{3\,{e}^{4}}{8\,{d}^{3}}\ln \left ({\frac{1}{x} \left ( 2\,{d}^{2}+2\,\sqrt{{d}^{2}}\sqrt{-{x}^{2}{e}^{2}+{d}^{2}} \right ) } \right ){\frac{1}{\sqrt{{d}^{2}}}}}+{\frac{e}{3\,{d}^{4}{x}^{3}} \left ( -{x}^{2}{e}^{2}+{d}^{2} \right ) ^{{\frac{3}{2}}}}-{\frac{{e}^{4}}{{d}^{5}}\sqrt{- \left ({\frac{d}{e}}+x \right ) ^{2}{e}^{2}+2\,de \left ({\frac{d}{e}}+x \right ) }}-{\frac{{e}^{5}}{{d}^{4}}\arctan \left ({x\sqrt{{e}^{2}}{\frac{1}{\sqrt{- \left ({\frac{d}{e}}+x \right ) ^{2}{e}^{2}+2\,de \left ({\frac{d}{e}}+x \right ) }}}} \right ){\frac{1}{\sqrt{{e}^{2}}}}}-{\frac{1}{4\,{d}^{3}{x}^{4}} \left ( -{x}^{2}{e}^{2}+{d}^{2} \right ) ^{{\frac{3}{2}}}}-{\frac{5\,{e}^{2}}{8\,{d}^{5}{x}^{2}} \left ( -{x}^{2}{e}^{2}+{d}^{2} \right ) ^{{\frac{3}{2}}}}+{\frac{{e}^{3}}{{d}^{6}x} \left ( -{x}^{2}{e}^{2}+{d}^{2} \right ) ^{{\frac{3}{2}}}}+{\frac{{e}^{5}x}{{d}^{6}}\sqrt{-{x}^{2}{e}^{2}+{d}^{2}}}+{\frac{{e}^{5}}{{d}^{4}}\arctan \left ({x\sqrt{{e}^{2}}{\frac{1}{\sqrt{-{x}^{2}{e}^{2}+{d}^{2}}}}} \right ){\frac{1}{\sqrt{{e}^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-e^{2} x^{2} + d^{2}}}{{\left (e x + d\right )} x^{5}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.75541, size = 180, normalized size = 1.26 \begin{align*} \frac{9 \, e^{4} x^{4} \log \left (-\frac{d - \sqrt{-e^{2} x^{2} + d^{2}}}{x}\right ) +{\left (16 \, e^{3} x^{3} - 9 \, d e^{2} x^{2} + 8 \, d^{2} e x - 6 \, d^{3}\right )} \sqrt{-e^{2} x^{2} + d^{2}}}{24 \, d^{4} x^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{- \left (- d + e x\right ) \left (d + e x\right )}}{x^{5} \left (d + e x\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: NotImplementedError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]